package fr.esiag.isidis.fi.pdsTeam.recive.beans;

import java.io.Serializable;

public class Order implements Serializable {
	private static final long serialVersionUID = 2091565417604519326L;
	IdSource source;
	IdAction action;
	TypeSource tSource;
	public IdSource getSource() {
		return source;
	}
	public void setSource(IdSource source) {
		this.source = source;
	}
	public IdAction getAction() {
		return action;
	}
	public void setAction(IdAction action) {
		this.action = action;
	}
	public TypeSource gettSource() {
		return tSource;
	}
	public void settSource(TypeSource tSource) {
		this.tSource = tSource;
	}
	public Order(IdSource source, IdAction action, TypeSource tSource) {
		super();
		this.source = source;
		this.action = action;
		this.tSource = tSource;
	}
	@Override
	public String toString() {
		return "Order [source=" + source + ", action=" + action + ", tSource="
				+ tSource + "]";
	}
}
